import { Moment } from 'moment';

export interface IMessageTopic {
    id?: number;
    fromUserId?: number;
    toUserId?: number;
    topic?: string;
    createdDate?: Moment;
    referOfferId?: number;
    referRequestId?: number;
}

export class MessageTopic implements IMessageTopic {
    constructor(
        public id?: number,
        public fromUserId?: number,
        public toUserId?: number,
        public topic?: string,
        public createdDate?: Moment,
        public referOfferId?: number,
        public referRequestId?: number
    ) {}
}
